package com.itheima.d04_annotation;

import org.junit.Test;

import java.text.Annotation;

//@Test
//public void testParseClassAnnotation(){
//   //1.
//   Class<StudentService> cls = StudentService.class;

//   //2.
//   Annotation[] annotations = cls.getDeclaredAnnotations();
//   for (Annotation anno : anno) {
//       System.out.println(cls.getName()+",注解:"+ anno);
//   }



//}
